package com.hnevc.sharerestuarnt;

public class Dish {
	private int dishId;
	private String name;
	private CookRestaurant cookeRestaurant;
	private int price;
	public CookRestaurant getCookeRestaurant() {
		return cookeRestaurant;
	}
	public String getName() {
		return name;
	}
	public int getPrice() {
		return price;
	}
	public void setCookeRestaurant(CookRestaurant cookeRestaurant) {
		this.cookeRestaurant = cookeRestaurant;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getDishId() {
		return dishId;
	}
	public void setDishId(int dishId) {
		this.dishId = dishId;
	}
	public Dish() {
		// TODO Auto-generated constructor stub
	}
	public Dish(String name,CookRestaurant cookRestaurant, int price) {
		this.name = name;
		this.cookeRestaurant = cookRestaurant;
		this.price = price;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return dishId+"\t"+name+"\t"+cookeRestaurant+"\t"+price;
	}
}
